<?php

namespace app\admin\controller;

use think\Controller;
use think\Request;
// use think\response\Jump;
class Common extends Controller
{
    // use Jump;
    public function __construct()
    {
        parent::__construct();
        if(empty($_SESSION['username'])) {
            $this->wderror('http://127.0.0.1/bnstudy/public/index.php/admin/Admin/index', '请登录');die;
        }    
    }
}
